# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-log-symbols
_pyname=log_symbols
pkgver=0.0.14
pkgrel=5
pkgdesc="Colored symbols for Python log levels"
url="https://github.com/manrajgrover/py-log-symbols"
arch="noarch"
license="MIT"
depends="python3 py3-colorama"
makedepends="py3-setuptools py3-gpep517"
options="!check" # no tests
subpackages="$pkgname-pyc"
source="$_pyname-$pkgver.tar.gz::https://pypi.python.org/packages/source/l/log-symbols/log_symbols-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	gpep517 install-wheel --destdir "$pkgdir" \
		.dist/*.whl
}

sha512sums="
0e66e3c13da6de5e9f306c23885e49e0d68e252dec7834020a4bb4a367ab03b295b2b23c102fc3378ed7128ed97623649050821dacc6692992892c5f79b96d8a  log_symbols-0.0.14.tar.gz
"
